package com.chanta.server.persistence;

import java.util.Date;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;

/**
 * s
 * TODO Please comment this class..
 * 
 * @author Hakan Özdemir - Vendoo Inc.
 * @date 02.11.2013
 * 
 */
@PersistenceCapable
public class Log {

	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Key key;

	@Persistent
	private Date logDate;

	@Persistent
	private String logMessage;

	@Persistent
	private String status;

	/**
	 * Getter for logDate.
	 * 
	 * @return logDate
	 */
	public Date getLogDate() {
		return logDate;
	}

	/**
	 * Setter for logDate.
	 * 
	 * @param logDate
	 *            the logDate to set
	 */
	public void setLogDate(Date logDate) {
		this.logDate = logDate;
	}

	/**
	 * Getter for logMessage.
	 * 
	 * @return logMessage
	 */
	public String getLogMessage() {
		return logMessage;
	}

	/**
	 * Setter for logMessage.
	 * 
	 * @param logMessage
	 *            the logMessage to set
	 */
	public void setLogMessage(String logMessage) {
		this.logMessage = logMessage;
	}

	/**
	 * Getter for status.
	 * 
	 * @return status
	 */
	public String getStatus() {
		return status;
	}

	/**
	 * Setter for status.
	 * 
	 * @param status
	 *            the status to set
	 */
	public void setStatus(String status) {
		this.status = status;
	}
}
